@echo off
echo Building ARMv7 binary with frontend assets...

cd backend
set CGO_ENABLED=0
set GOOS=linux
set GOARCH=arm
set GOARM=7
go build -tags nodynamic -ldflags "-s -w" -o ../dist/homebox-linux-armv7-full ./app/api
cd ..

echo Build completed: dist\homebox-linux-armv7-full
pause